package org.example.shoppingsystem.model;
import java.sql.Timestamp;
public class Product {
    private Integer id;
    private String name;
    private Double price;
    private String category;
    private Timestamp createTime;
    private Timestamp updateTime;
    private Integer isDeleted;

    public Product() {
    }

    public Product(Integer id, String name, Double price, String category, Timestamp createTime, Timestamp updateTime, Integer isDeleted) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.category = category;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}